MailPoet\API\JSON\v1\Newsletters A

Total Complexity 56
Dependencies 30
Dependents 2
Total lines 400
Lines of code 286
Logical lines of code 151
Comment lines 20
Methods 16
Properties 18

Methods 16

Method Rating Maintainability Complexity Lines of code
setStatus()
B
37 23 70
sendPreview()
S
54 5 21
bulkAction()
S
56 4 17
showPreview()
S
55 3 20
listing()
S
54 2 20
getWithStats()
S
56 2 18
get()
S
58 2 15
restore()
S
59 2 15
trash()
S
59 2 15
duplicate()
S
59 2 15
delete()
S
60 2 13
__construct()
S
55 1 19
create()
S
65 2 9
getNewsletter()
S
72 2 5
save()
S
63 1 10
getViewInBrowserUrl()
S
75 1 4